<?php

namespace App\Models;

use App\ModelFilters\Qh_ArticleFilter;

class Qh_Article extends BaseModel
{

    protected $table = 'qh_articles';

    protected $guarded = [];

    protected $casts = [
        'created_at' => 'datetime:Y-m-d H:i:s',
        'updated_at' => 'datetime:Y-m-d H:i:s'
    ];

    public function modelFilter(): ?string
    {
        return $this->provideFilter(Qh_ArticleFilter::class);
    }
}
